package com.iyjhsoc.game.controller;

import com.iyjhsoc.game.dao.CompetitionSmallTeamLoLInfoDAO;
import com.iyjhsoc.game.domain.VO.CompetitionSmallGameVO;
import com.iyjhsoc.game.domain.VO.CompetitionSmallTeamLoLInfoVO;
import com.iyjhsoc.game.domain.entity.CompetitionSmallTeamLoLInfoDO;
import com.iyjhsoc.game.domain.response.Response;
import com.iyjhsoc.game.service.CompetitionSmallTeamLoLInfoService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("iyj/competition/info/lol")
public class CompetitionSmallTeamLoLInfoController extends BaseController<CompetitionSmallTeamLoLInfoDAO, CompetitionSmallTeamLoLInfoDO, CompetitionSmallTeamLoLInfoVO>{

    @Resource
    CompetitionSmallTeamLoLInfoService service;


    @GetMapping("queryPage")
    public Response  queryPage(CompetitionSmallGameVO vo){
        Response response = service.queryPage(vo);
        return response;
    }

}
